package com.chuangke.sinotrukbudgetapi.service;

import java.util.List;

import com.alibaba.fastjson2.JSONObject;
import com.chuangke.sinotrukbudget.model.BudgetBpcPlan;

public interface BudgetApiService {

	/**
	 * 接收预算信息
	 * 
	 * @param budgetJson
	 * @return
	 */
	Object receiveBudgetData(String budgetJson);

	/**
	 * 回写接收预算结果
	 * @param reponse
	 * @return
	 */
	String writeBackReceiveResult(JSONObject reponse);

	/**
	 * 回写最终审批预算
	 */
	String writeBackAuditBudget();
	
	String writeBackAuditBudget(List<BudgetBpcPlan> bbpList) ;

	void startFlow(String auditUser, List<BudgetBpcPlan> bbpList);
	
	/**
	 * 将预算期间保存到字典中
	 * @param bbpList
	 */
	void initBudgetTimeToDict(List<BudgetBpcPlan> bbpList) ;
}
